7. Call related Commands > 7.12 ATS0   Set number of rings before automatically answering a call

7.12
ATS0   Set number of rings before automatically answering a call
Syntax
Read Command  
Response(s)
Write Command  
Response(s)
Reference(s) 
PIN 
ASC0 
ASC1 
USB 
MUX1 
MUX2 
MUX3 
Charge 
Last 

Parameter Description
 
<n>(num)(&W)(&V)
000(&F)
Automatic answer mode is disabled.
001-255
Enable automatic answering after specified number of rings.


Notes
•
•
•
If <n> is set to higher values, the calling party may hang up before the call is automatically answered.
•
The correlation between ATS7 and ATS0 is important.
Example: Call setup may fail if ATS7=30 and ATS0=20.
•
•
•
According to "3GPP TS 27.007 (GSM 07.07): AT command set for User Equipment (UE)", ATS0 is also used as GPRS compatibility command to answer automatically to a network request for PDP context activation (see Section 11.21). Therefore, when the ATS0 write command is issued with <n> greater than 0, the ME will attempt to perform a GPRS attach if not yet attached and if configured to do so (due to the setting AT^SCFG="GPRS/ATS0/withAttach","on").
If the automatic GPRS attach fails the ME keeps trying to attach for approx. 5 minutes, before ATS0 ends up with "ERROR" or "+CME ERROR: unknown", though the new <n> value takes effect. To avoid the risk of long response times to ATS0 in such case take care that the parameter AT^SCFG=<gs0aa> is off, if autoanswer mode is not needed for GPRS or if the mobile works in non-GPRS networks.
The GPRS attach will not be performed on recalling a stored user profile with ATZ or on powerup, even though a value <n> greater than 0 was stored in the user profile with AT&W.